import Vue from 'vue';
import App from './App.vue';
import router from './router';
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 公共样式
import '@/assets/css/common.css';
// 字体图标
import '@/assets/iconfont/iconfont.css';
// 打印
import Print from 'vue-print-nb';
// 导出
import JsonExcel from 'vue-json-excel';
// 引入 echarts
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;

Vue.component('downloadExcel', JsonExcel);

// 注册
Vue.use(Print);

Vue.use(Element);

Vue.config.productionTip = false;

new Vue({
  router,
  render: h => h(App),
}).$mount('#app');
